//
//  UserManger.h
//  ReceiveTask
//
//  Created by WangZhenyu on 2018/11/21.
//  Copyright © 2018 WangZhenyu. All rights reserved.
//

#import <Foundation/Foundation.h>

@class UserInfo;
@class LocalRecordModel;


@interface UserManger : NSObject

+ (UserInfo *)getUserWithId:(NSString*)userId;
+ (void)setUser:(UserInfo*)user;
+ (UserInfo *)currentLoggedInUser;
+ (void)logoutCurrentUser:(void (^)(void))success;
+ (BOOL)hasUserLogged;
///新增本地音频
+ (void)createFileModel:(LocalRecordModel *)model;
///删除本地音频
+ (void)removeFileModel:(LocalRecordModel *)model;
///保存数据
+ (void)saveFile;

@end
